package com.shunli.cterminal.enums;

import com.examples.core.enums.BaseEnum;
import com.examples.core.enums.EnumOperations;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @className: ShipWayEnum
 * @description: TODO
 * @author: DAIYALU
 * @date: 2024/6/13
 * @version: 1.0
 */
@Getter
@AllArgsConstructor
public enum TfGoodsCodeEnum implements BaseEnum<String> {

    LNYUNSHI("lnyunshi","流年运势", TfGoodsCodeTwoEnum.YUNSHI,"LNYS"),
    ZIWEIDOUSHU("ziweidoushu","紫微斗数", TfGoodsCodeTwoEnum.YUNSHI,"ZWDS"),
    SHINIANDAYUN("shiniandayun","十年大运", TfGoodsCodeTwoEnum.YUNSHI,"SNDY"),
    HAOMAJIEXI("haomajiexi","号码解析", TfGoodsCodeTwoEnum.YUNSHI,"HMJX"),
    BAZISHIYE("bazishiye","八字事业", TfGoodsCodeTwoEnum.YUNSHI,"BZSY"),
    LONGYEARYS("longyearys","龙年运势", TfGoodsCodeTwoEnum.YUNSHI,"LYYS"),

    BAZIHEHUN("bazihehun","八字合婚", TfGoodsCodeTwoEnum.YINYUAN,"BZHH"),
    ZHENGYUANHX("zhengyuanhx","正缘画像", TfGoodsCodeTwoEnum.YINYUAN,"ZYHX"),

    BAOBAOQIMING("baobaoqiming","宝宝起名", TfGoodsCodeTwoEnum.BAOBAO,"BBQM"),
    GONGSIQIMING("gongsiqiming","公司起名", TfGoodsCodeTwoEnum.GONGSI,"GSQM"),
    LIUNIANYUNSHI("liunianyunshi","流年运势", TfGoodsCodeTwoEnum.YUNSHI,"LNYS"),
    ZIPINGXIANGPI("zipingxiangpi","子平详批",TfGoodsCodeTwoEnum.YUNSHI,"ZPXP"),
    SHENIANYUNSHI("shenianyunshi","蛇年运势",TfGoodsCodeTwoEnum.YUNSHI,"SNYS");

    private final String code;

    private final String desc;

    private final TfGoodsCodeTwoEnum twoEnum;

    private final String orderFname;

    public static TfGoodsCodeEnum ofCodeNoisy(String code) {
        return EnumOperations.getByCodeNoisy(TfGoodsCodeEnum.class, code);
    }
}
